package com.example.newleadcent.service.Impl;

import com.example.newleadcent.entity.Location;
import com.example.newleadcent.mapper.LocationMapper;
import com.example.newleadcent.service.LocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LocationServiceImpl implements LocationService {
    @Autowired
    LocationMapper locationMapper;

    @Override
    public int add(Location location) {
        return locationMapper.add(location);
    }
}
